﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="uc_LapPhieu_Xem_LichSu_ChiTiet.ascx.cs"
    Inherits="CSManager_UserControl_uc_LapPhieu_Xem_LichSu_ChiTiet" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<style type="text/css" media="print">
    .jwts_tabbernav
    {
        display: none;
    }
</style>
<script type="text/javascript">    var jwts_slideSpeed = 30; var jwts_timer = 10;</script>
<script type="text/javascript">
    xAddEventListener(window, 'load',
            function () { new xTableHeaderFixed('gvTheGrid', 'divSearchList', 0); }, false);

</script>
<div style="height: 850px">
    <div class="TitlePage">
        XEM LỊCH SỬ LẬP PHIẾU SOẠN HÀNG</div>
    <%--<asp:UpdatePanel ID="updatepanel1" runat="server">
        <ContentTemplate>
        </ContentTemplate>
        </asp:UpdatePanel>--%>
    <asp:Panel runat="server" ID="Panel1">
        <fieldset>
            <div style="text-align: left; width: 100%">
                <table width="100%">
                    <tr>
                        <td class="tdsearch1">
                        </td>
                        <td align="left" class="tdsearch2" style="text-align: right">
                            Ngày:
                        </td>
                        <td align="left" class="tdsearch3">
                            <asp:Label ID="lblNgay" runat="server" Style="font-weight: 700"></asp:Label>
                        </td>
                        <td class="tdsearch4">
                        </td>
                        <td align="left" class="tdsearch5" style="text-align: right">
                            Buổi:
                        </td>
                        <td align="left" class="tdsearch6" style="margin-right: 5px">
                            <asp:Label ID="lblBuoi" runat="server" Style="font-weight: 700"></asp:Label>
                        </td>
                        <td class="tdsearch7">
                        </td>
                    </tr>
                </table>
            </div>
        </fieldset>
    </asp:Panel>
    <div style="clear: both; height: 10px">
    </div>
    <div id="divSearchList">
            <asp:GridView ID="grdList" runat="server" AutoGenerateColumns="false" Width="100%"
                CssClass="gvTheGrid" PageSize="10000">
                <Columns>
                    <asp:TemplateField HeaderText="Tên tuyến" ControlStyle-Width="120px">
                        <ItemTemplate>
                            <asp:Label ID="lblListingRouteName" runat="server" Text='<%# Eval("RouteName") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Từ kho" ControlStyle-Width="120px">
                        <ItemTemplate>
                            <asp:Label ID="lblListingTenKho" runat="server" Text='<%# Eval("TenKho") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Mã khách hàng" ControlStyle-Width="100px">
                        <ItemTemplate>
                            <asp:Label ID="lblListingMaKhachHang" runat="server" Text='<%# Eval("MAKHACHHANG") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Tên khách hàng" ControlStyle-Width="180px">
                        <ItemTemplate>
                            <asp:Label ID="lblListingTenKhachHang" runat="server" Text='<%# Eval("CardName") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Số SO" ItemStyle-HorizontalAlign="Center" ControlStyle-Width="80px">
                        <ItemTemplate>
                            <asp:Label ID="lblListingSO" runat="server" Text='<%# Eval("SOID") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="ISBN" ControlStyle-Width="120px">
                        <ItemTemplate>
                            <asp:Label ID="lblListingISBN" runat="server" Text='<%# Eval("ISBN") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Tên sách" ControlStyle-Width="200px">
                        <ItemTemplate>
                            <asp:Label ID="lblListingBookName" runat="server" Text='<%# Eval("ItemName") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Ngày ETD" ItemStyle-HorizontalAlign="Center" ControlStyle-Width="100px">
                        <ItemTemplate>
                            <asp:Label ID="lblListingNgayETD" runat="server" Text='<%# Eval("NGAYETD") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Tổng số lượng" ItemStyle-HorizontalAlign="Center"
                        ControlStyle-Width="100px">
                        <ItemTemplate>
                            <asp:Label ID="lblListingTSL" runat="server" Text='<%# string.Format("{0:N0}",Eval("TSL")) %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="SL yêu cầu" ItemStyle-HorizontalAlign="Center" ControlStyle-Width="80px">
                        <ItemTemplate>
                            <asp:Label ID="lblListingLenhGiaoHang" runat="server" Text='<%# string.Format("{0:N0}",Eval("LENHGIAOHANG")) %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="SL thực soạn" ItemStyle-HorizontalAlign="Center" ControlStyle-Width="80px">
                        <ItemTemplate>
                            <asp:Label ID="lblListingSLThucSoan" runat="server" Text='<%# string.Format("{0:N0}",Eval("SLSOANHANG")) %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <PagerStyle CssClass="pager" HorizontalAlign="Right" />
            </asp:GridView>
        </div>
</div>
<asp:HiddenField ID="hdfDateTime" runat="server" />
<asp:HiddenField ID="hdfBuoiID" runat="server" />
<asp:HiddenField ID="hdfID" runat="server" />
